package com.pengxun.manager.vo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

public class ResetPasswordEmailVO {


    private String key;


    @NotNull(message = "新密码不能为空")
    @Pattern(regexp = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[\\s\\S]{6,18}$",message = "密码为6-18位的大小写字母和数字组合")
    private String password;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
